<style>
    .selPath {
        background: #1E9FFF !important;
        color: #FFFFFF !important;
        border-radius: 8px;
    }
    .menu-item {
        display: block;
        padding: 8px 15px;
        margin-bottom: 15px;
        border-radius: 8px;
    }
    .headerNav{
        max-width: 1440px;
    }
    .menu-item:hover {
        background: #eaeaea;
        color: #1E9FFF;
    }

    .leftMenu {
        position: sticky;
        top: 75px;
        margin-top: 15px;
        height: calc(100vh - 120px);
        box-shadow: 0 0 15px #ececec;
        border-radius: 10px;
        padding: 15px;

    }
    #main{
        width: 1440px !important;
    }
    #control {
        display: grid;
        gap: 15px;
        grid-template-columns: 150px 1fr;
    }

    .rightControl {
        margin-top: 15px;
        box-shadow: 0 0 15px #ececec;
        border-radius: 10px;
        padding: 15px;
    }
</style>
<div class="leftMenu">
    <a class="menu-item" href="/index/admin/index">仪表盘</a>
    <a class="menu-item" href="/index/admin/user">用户管理</a>
    <a class="menu-item" href="/index/admin/images">图片管理</a>
    <a class="menu-item" href="/index/admin/setting">系统设置</a>
</div>
<script>
    $(".menu-item[href='{$path}']").addClass("selPath")
</script>